package com.project.service.impl;

import com.project.mapper.RolePermissionMapper;
import com.project.result.ResponseResult;
import com.project.service.RolePermissionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ProjectName:
 * @Package:
 * @ClassName:
 * @Author: ZhaoLongShi
 * @CreateDate:
 */
@Service
public class RolePermissionServiceImpl implements RolePermissionService {
    @Resource
    RolePermissionMapper rolePermissionMapper;
    @Override
    public ResponseResult selectRolesById(Long id) {
        return ResponseResult.success(rolePermissionMapper.selectRolesById(id));
    }

}
